<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>简易商城 - 注册</title>
    <style>
        body{font-family:Arial,Helvetica,sans-serif;margin:0;padding:0;background:#f5f5f5;display:flex;justify-content:center;align-items:center;height:100vh}
        .box{background:#fff;padding:30px 40px;border-radius:6px;box-shadow:0 0 10px rgba(0,0,0,.1);width:300px;text-align:center}
        .box h2{margin-bottom:20px;color:#333}
        .box input{width:100%;padding:10px;margin:8px 0;border:1px solid #ccc;border-radius:4px;box-sizing:border-box}
        .box button{width:100%;padding:10px;margin-top:10px;background:#ff6600;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:16px}
        .box button:hover{background:#e55a00}
        .box a{color:#ff6600;text-decoration:none;font-size:14px}
    </style>
</head>
<body>
    <div class="box">
        <h2>用户注册</h2>
        <form action="#" method="post">
            <input type="text" name="username" placeholder="用户名" required>
            <input type="email" name="email" placeholder="邮箱" required>
            <input type="password" name="pwd" placeholder="密码（≥6位）" minlength="6" required>
            <input type="password" name="repwd" placeholder="确认密码" minlength="6" required>
            <button type="submit">立即注册</button>
        </form>
        <p style="margin-top:15px;font-size:14px">已有账号？<a href="login.html">去登录</a></p>
        <a href="/index.html">回到首页</a>
    </div>
</body>
</html>